//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.itheima.pinda.authority.dto.auth;

import com.itheima.pinda.authority.entity.auth.Menu;
import com.itheima.pinda.model.ITreeNode;
import io.swagger.annotations.ApiModel;
import java.util.List;

@ApiModel(
        value = "ResourceTreeDTO",
        description = "资源树"
)
public class MenuTreeDTO extends Menu implements ITreeNode<MenuTreeDTO, Long> {
    private List<MenuTreeDTO> children;
    private String label;

    public MenuTreeDTO() {
    }

    public Long getId() {
        return (Long)super.getId();
    }

    public Long getCreateUser() {
        return (Long)super.getCreateUser();
    }

    public Long getUpdateUser() {
        return (Long)super.getUpdateUser();
    }

    public List<MenuTreeDTO> getChildren() {
        return this.children;
    }

    public void setChildren(List<MenuTreeDTO> children) {
        this.children = children;
    }

    public String getLabel() {
        return this.getName();
    }

    public String toString() {
        return "MenuTreeDTO(super=" + super.toString() + ", children=" + this.getChildren() + ", label=" + this.getLabel() + ")";
    }
}
